// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'InspectionPlanDetailId',
        footer: "Foots",
        cnName: '检验方案明细',
        name: 'InspectionPlanDetail',
        newTabEdit: false,
        url: "/InspectionPlanDetail/",
        sortName: "InspectionPlanDetailId"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"InspectionProjectNo":"","InspectionProjectName":"","StandardValue":"","Description":""};
    const editFormOptions = [[{"title":"检验项目编码","field":"InspectionProjectNo","type":"text"},
                               {"title":"检验项目名称","field":"InspectionProjectName","type":"text"},
                               {"title":"标准值","field":"StandardValue","type":"text"},
                               {"title":"备注","field":"Description","type":"textarea"}]];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'InspectionPlanDetailId',title:'检验方案明细标识',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'InspectionPlanId',title:'检验方案标识',type:'int',width:110,hidden:true,align:'left'},
                       {field:'InspectionProjectId',title:'检验项目标识',type:'int',width:110,hidden:true,align:'left'},
                       {field:'InspectionProjectNo',title:'检验项目编码',type:'string',width:110,align:'left'},
                       {field:'InspectionProjectName',title:'检验项目名称',type:'string',width:110,align:'left'},
                       {field:'StandardValue',title:'标准值',type:'string',width:110,align:'left'},
                       {field:'Description',title:'备注',type:'string',width:110,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}